package map_package;

public class Position {
	int x;
	int y;
	
	public Position()
	{
		x = 0;
		y = 0;
	}
	
	public Position(Position p)
	{
		x = p.x;
		y = p.y;
	}
	
	public Position(int nx, int ny)
	{
		x = nx;
		y = ny;
	}
	
	public boolean equals(Position p)
	{
		return p.x == x && p.y == y;
	}
	
	public String toString()
	{
		return "(" + String.valueOf(x) + "," + String.valueOf(y) + ")";
	}
}
